
// 自动生成模板AfterSaleOrder
package after_sale_order
import (
	"time"
)

// 售后管理 结构体  AfterSaleOrder
type AfterSaleOrder struct {
  AfterSaleId  *int32 `json:"afterSaleId" form:"afterSaleId" gorm:"primarykey;column:after_sale_id;"`  //售后订单ID
  OrderId  *int32 `json:"orderId" form:"orderId" gorm:"column:order_id;"`  //订单ID
  UserId  *int32 `json:"userId" form:"userId" gorm:"column:user_id;"`  //用户ID
  Reason  *string `json:"reason" form:"reason" gorm:"column:reason;size:255;"`  //售后原因
  ProofUrl  *string `json:"proofUrl" form:"proofUrl" gorm:"column:proof_url;size:255;"`  //凭证图片
  AfterSaleStatus  *string `json:"afterSaleStatus" form:"afterSaleStatus" gorm:"column:after_sale_status;size:10;"`  //售后状态
  ApplyTime  *time.Time `json:"applyTime" form:"applyTime" gorm:"column:apply_time;"`  //申请时间
  AuditTime  *time.Time `json:"auditTime" form:"auditTime" gorm:"column:audit_time;"`  //审核时间
}


// TableName 售后管理 AfterSaleOrder自定义表名 after_sale_order
func (AfterSaleOrder) TableName() string {
    return "after_sale_order"
}





